using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zadatak_2
{
    class Program
    {
        static void Main(string[] args)
        {
            int j, i, n;

               n = Convert.ToInt32(Console.ReadLine());
             List<int> Lista = new List<int>();

            for (i = 0; i < n; i++)
            {
                Lista.Add(i + 1);
            }


            for (i = 2; i < n; i++)
            {
                for (j = 0; j < Lista.Count; j++)
                {
                    if ((Lista[j] % i == 0) && (Lista[j] != i))
                    {
                        Lista.RemoveAt(j);
                    }
                }
            }


            foreach (int x in Lista)
            {
                Console.WriteLine("==> {0}", x);
            }

            Console.ReadKey();
        }
    }
}
